# -*- coding: utf-8 -*-
#
# Copyright (c) 2011 BidiX (http://bidix.info)
#
#   Licensed under the Apache License, Version 2.0 (the "License");
#   you may not use this file except in compliance with the License.
#   You may obtain a copy of the License at
#
#     http://www.apache.org/licenses/LICENSE-2.0
#
#   Unless required by applicable law or agreed to in writing, software
#   distributed under the License is distributed on an "AS IS" BASIS,
#   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
#   See the License for the specific language governing permissions and
#   limitations under the License.
#
"""
	Global application configuration
"""
import os, sys
#
# File system parameters
#
#STATIC_ROOT_PATH = ROOT_PATH + '/static'
#FILE_TEMPLATE_ROOT_PATH = ROOT_PATH + '/templates'
#FILE_CHARSET = 'utf-8'
#sys.path.append(os.path.realpath(ROOT_PATH))
#sys.path.append(os.path.realpath(ROOT_PATH+'/lib/Markdown-2.0.3'))

#
# Wiki parameters
#
#WIKI_TEMPLATE_ROOT_FOLDER = 'wiki/templates'
#WIKI_TEMPLATE_SUPPORT = True
#
# URL
#
#BASE_URL = '/'
#APP_NAME = 'NoteWiki'

ROOT_PATH = os.path.dirname(__file__)
sys.path.append(os.path.realpath(ROOT_PATH+'/lib/Markdown-2.0.3'))
config = {
		# file system parameters
		'root_path': ROOT_PATH,
		'static_root_path': ROOT_PATH + '/static',
		'file_template_root_path': ROOT_PATH + '/templates',
		# wiki parameters
		'file_charset': 'utf-8',
		'wiki_template_root_folder': 'wiki/templates',
		'wiki_template_support': True,
		'wiki_base_url': '/',
		'wiki_app_name': 'Notewiki',
		}